package com.example.demo.test.entity.many2many;

import lombok.*;

import java.util.HashSet;
import java.util.Set;

/**
 * 单向多对多 以Category为主
 */
@Data
public class Category {
    private Integer id;
    private String name;
    private Set<Item> items = new HashSet<>();
}
